package org.bwf.study.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

@TableName("type")
public class Type {
    @TableId(value = "type_id", type = IdType.AUTO)
    private Integer typeId;
    @TableField("type_name")
    private String typeName;
    @TableField("type_enable")
    private Byte typeEnable;

    public Integer getTypeId() {
        return typeId;
    }

    public void setTypeId(Integer typeId) {
        this.typeId = typeId;
    }

    public String getTypeName() {
        return typeName;
    }

    public void setTypeName(String typeName) {
        this.typeName = typeName == null ? null : typeName.trim();
    }

    public Byte getTypeEnable() {
        return typeEnable;
    }

    public void setTypeEnable(Byte typeEnable) {
        this.typeEnable = typeEnable;
    }
}